package com.gjm.demo.ioc;

public class Main {

    public static void main(String[] args) {
        D d = new D(12);
        C c = new C(d);
        B b = new B(c);
        A a = new A(b);
        System.out.println("零件组装完成");
    }
}
